<ion-view hide-nav-bar="true" title="首页">
    <ion-content class="detail-page" >
        <div class="item item-divider" style="line-height: 25px;">
            个人信息
            <a style="font-size: 0.8rem;color: #9C9696;float: right;" href="javascript:;" ng-click="editMemberInfo()">修改资料</a>
        </div>
        <div>
            <table>
                <tbody>
                <tr style="box-shadow: none;">
                    <td data-title="&nbsp;" style="border: 0px;">
                        &nbsp;
                    </td>
                    <td data-title="头像:"><img ng-src="{{vm.memberInfo.avatarPath}}" style="width: 100px;"></td>
                    <td data-title="姓名:">{{vm.memberInfo.memberName}}</td>
                    <td data-title="性别:">{{vm.memberInfo.memberSex == '1' ? '男' : '女'}}</td>
                    <td data-title="年龄:">{{vm.memberInfo.memberBirthday | ageFilter}}</td>
                    <td data-title="手机号码:">{{vm.memberInfo.memberPhone}}</td>
                </tr>

                </tbody>
            </table>
        </div>
        <div class="item item-divider" style="line-height: 25px;">
            宝贝信息
        </div>
        <div>
            <div class="row row-wrap">
                <div class="col col-50" ng-repeat="item in vm.studentInfo track by $index"  ui-sref="memberMenu.changeRel({studentId:item.id})">
                    <div class="card card-facebook margin-0">
                        <div class="item item-avatar-center">
                            <img ng-src="{{item.avatarPath}}">
                            <h2 class="ng-binding">{{item.memberName}}</h2>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </ion-content>
</ion-view>

